module.exports = {
  devServer: {
    open: true,
    disableHostCheck: false,
    host: '0.0.0.0',
    port: 8080,
    https: false,
    hotOnly: false, // See https://github.com/vuejs/vue-cli/blob/dev/docs/cli-service.md#configuring-proxy
    proxy: null // string | Object  {'api':{target:'...'}}
  },
  lintOnSave: true, // 配置关闭eslint
  configureWebpack: {
    devtool: process.env.NODE_ENV === 'production' ? 'none' : 'source-map'
  },
  publicPath: process.env.NODE_ENV === 'production' ? './' : '/'
}
